package com.yh.service;

import com.yh.javabean.Permission;

import java.util.List;

/**
 * @Auther: als
 * @Date: 2024/5/27 - 05 - 27 - 10:27
 * @Description: com.yh.service
 * @version: 1.0
 */
public interface PermissionService {
     List<Permission> findAll();

    List<Permission> findByUid(int uid);

    //模糊查询
     List<Permission> findAll(String permissionName);

     void addPermission(Permission permission);

     void delete(int id);

     void editPermission(Permission permission);

     Permission findById(int id);

    //权限批量删除
    void deleteIds(List<Integer> ids);
}
